package com.ruoyi.content.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章标签关联表 con_article_tag
 * 
 * @author cloudoer
 * @date 2019-06-25
 */
public class ArticleTag extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	public ArticleTag(){}

	public ArticleTag(Long articleId, Long tagId){
		this.articleId = articleId;
		this.tagId = tagId;
	}
	
	/** 文章ID */
	private Long articleId;
	/** 标签ID */
	private Long tagId;

	public void setArticleId(Long articleId) 
	{
		this.articleId = articleId;
	}

	public Long getArticleId() 
	{
		return articleId;
	}
	public void setTagId(Long tagId) 
	{
		this.tagId = tagId;
	}

	public Long getTagId() 
	{
		return tagId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("tagId", getTagId())
            .toString();
    }
}
